﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Front.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="CarService.Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript" language="javascript">
        $(document).ready(function () {
            $('.slider')._TMS({
                show: 0,
                pauseOnHover: true,
                prevBu: '.prev',
                nextBu: '.next',
                playBu: false,
                duration: 500,
                preset: 'fade',
                pagination: true, //'.pagination',true,'<ul></ul>'
                pagNums: false,
                slideshow: 8000,
                numStatus: false,
                banners: 'fromBottom', // fromLeft, fromRight, fromTop, fromBottom
                waitBannerAnimation: false,
                progressBar: false
            })

        })
        $(function () {
            if ($(window).width() <= 1066) {
                $("#slider .prev").css("left", "55px")
                $("#slider .next").css("right", "55px")
            }
        })
	</script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <!-- Slider -->
    <div id="slider">
       <div class="slider-block">
          <div class="slider">
              <ul class="items">
                  <asp:Repeater ID="rptSlider" runat="server">
                    <ItemTemplate>
                        <li><img src='<%#Eval("src") %>' alt='<%#Eval("url") %>' title='<%#Eval("title") %>' /><a href='<%#Eval("url") %>'>&nbsp;</a></li>
                    </ItemTemplate>
                  </asp:Repeater>
               </ul>
          </div>
          <a href="#" class="prev"></a>
          <a href="#" class="next"></a>
        </div>
    </div>
    <!-- /End Slider -->
    <!-- Service -->
      <div id="content-1" class="p7">
        <div class="container_12">
            <div class="article">
                <asp:Repeater ID="rptService" runat="server">
                    <ItemTemplate>
                        <div class="grid_3">
                            <a href='Service.aspx?Dichvu=<%#Eval("ServiceURL") %>'><img src='<%#Config.Global.Settings.ImagePath + "Service/" + Eval("ServiceImage") %>' alt='<%#Eval("ServiceName") %>' title='<%#Eval("ServiceName") %>' class="ident-bot-2" width="210" height="132" /></a>
                            <div class="ident-bot-3"><h2><%#Eval("ServiceName") %></h2></div>
                            <p class="ident-bot-4"><%#Eval("ServiceDescription") %></p>
                             <a class="button" href='Service.aspx?Dichvu=<%#Eval("ServiceURL") %>'>Chi tiết...</a>
                        </div>
                    </ItemTemplate>
                </asp:Repeater>
                <div class="clear"></div>
            </div>
        </div>
      </div>
      <!--/End Service -->

      <div id="content-2" class="p8" style="height: 300px;">
      <div class="container_12">
      <div>
      <!-- Time -->
      	<div class="grid_6">
          <div class="block-2">
        	<h2 class="ident-bot-6">Thời gian làm việc</h2>
            <div class="comments">
            	<div>
                	<table border="0" cellspacing="0" cellpadding="0" width="100%">
                		<tr>
                			<td style="font-weight: bold; border: 1px;">Mùa hè</td>
                            <td style="border: 1px;">
                                <table border="0" cellspacing="0" cellpadding="0" width="100%">
                                	<tr>
                                		<td>Buổi sáng: </td>
                                        <td style="font-weight: bold; color:#991111;">06h30 - 10h30</td>
                                	</tr>
                                	<tr>
                                		<td>Buổi chiều: </td>
                                        <td style="font-weight: bold; color:#991111;">14h00 - 18h00</td>
                                	</tr>
                                </table>
                            </td>
                		</tr>
                		<tr>
                			<td style="font-weight: bold; border: 1px;">Mùa hè</td>
                            <td style="border: 1px;">
                                <table border="0" cellspacing="0" cellpadding="0" width="100%">
                                	<tr>
                                		<td>Buổi sáng: </td>
                                        <td style="font-weight: bold; color:#991111;">07h30 - 11h30</td>
                                	</tr>
                                	<tr>
                                		<td>Buổi chiều: </td>
                                        <td style="font-weight: bold; color:#991111;">13h00 - 17h00</td>
                                	</tr>
                                </table>
                            </td>
                		</tr>
                	</table>
                	   
                </div>
            </div>
           </div> 
        </div>
        <!-- /End Time -->

        <!-- News -->
        <div class="grid_6">
        	<h2 class="ident-bot-5 ident-top-2">Tin mới</h2>
            <p class="ident-bot-6">
                <strong class="strong-1"><asp:Label ID="lblTitle" runat="server"></asp:Label></strong><br />
                <strong><asp:Label ID="lblDesc" runat="server"></asp:Label></strong>
            </p>
                <div style="text-align: right; margin-left: 20px;">
                    <asp:HyperLink ID="linkNews" runat="server" ForeColor="#234993" Font-Bold="true" Text="Chi tiết..."></asp:HyperLink>
                </div>
            <div class="ident-bot-6">
								<ul class="list-2">
                                    <asp:Repeater ID="rptNews" runat="server">
                                        <ItemTemplate>
                                            <li>
                                                <a href='News.aspx?ID=<%#Eval("NewsID") %>' title='<%#Eval("NewsTitle") %>'><%#Eval("NewsTitle") %></a>
                                            </li>
                                        </ItemTemplate>
                                    </asp:Repeater>
								</ul>
							</div>
        </div>    
        <!--/End News -->
      </div>
      </div>
      </div>  
</asp:Content>
